<h3 class="tblsitename">
	<a id="MyView_all" <%= @current_point == "MyView_all" ? 'class="current_point"' : '' %> hidefocus="true" href="/myview">全部</a> | 
	<a id="MyView_open" <%= @current_point == "MyView_open" ? 'class="current_point"' : '' %> hidefocus="true" href="/myview/open">进行中</a>
	<a id="MyView_closed" <%= @current_point == "MyView_closed" ? 'class="current_point"' : '' %> hidefocus="true" href="/myview/closed">已完成</a>
</h3>

<% @myviews.each do |list_title, tasks| %>
<table cellpadding="0" cellspacing="0" width="46%" class="tblsite" style="margin: 4px 10px 4px 10px; float: left; clear: right;">
	<tbody class="tblsite-bd">
		<tr>
			<td colspan=2><b><%=list_title%></b></td>
		</tr>
	<% tasks.each do |task| %>
		<tr>
			<td class="URGENT_<%=task.urgent%> IMPORTANT_<%=task.important%> FINISHED_<%=task.finished?%>">
				<%=task.id%>
			</td>
			<td>
				[<%=task.project.link_tag%>]
				<span class="URGENT_<%=task.urgent%> IMPORTANT_<%=task.important%>"><%='I' if task.important%><%='U' if task.urgent%></span>
				<%=task.link_tag(task.name, {:class => 'colorbox cbTasklet', :title => task.description})%>
				<br />
				<%= task.status %>
				<%= task.assign_to ? "(#{task.assign_to.name})" : '' %>
			</td>

		</tr>
	<% end %>
	</tbody>
</table>
<% end%>
